<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<zmn th:fragment="query">

    <div class="layui-form-item">
        <div class="layui-row">
            <label class="layui-form-label">业务类型：</label>
            <div class="layui-input-inline">
                <select name="bizType" id="bizType" lay-search>
                    <option value="" th:selected="${0 == vo.bizType}">全部</option>
                    <option th:value="${item.key}"
                            th:text="${item.value}"
                            th:selected="${item.key == vo.bizType}"
                            th:each="item:${bizTypeList}">平台
                    </option>
                </select>
            </div>
            <label class="layui-form-label">取消类型：</label>
            <div class="layui-input-inline">
                <select name="type" id="type" lay-search>
                    <option value="" th:selected="${0 == vo.type}">请选择</option>
                    <option th:value="${item.key}"
                            th:text="${item.value}"
                            th:selected="${item.key == vo.type}"
                            th:each="item:${cancelTypeList}">
                    </option>
                </select>
            </div>
            <label class="layui-form-label">状态：</label>
            <div class="layui-input-inline">
                <select name="status" id="status">
                    <option value="">请选择</option>
                    <option value="1" th:selected="${vo.status == 1}">停用</option>
                    <option value="2" th:selected="${vo.status == 2}">正常</option>
                </select>
            </div>
            <label class="layui-form-label">取消分类：</label>
            <div class="layui-input-inline">
                <select name="categId" id="categId" lay-filter="categId">
                    <option value="">请选择</option>
                    <option th:value="${item.categId}"
                            th:text="${item.name}"
                            th:selected="${item.categId == vo.categId}"
                            th:each="item:${cancelCategorys}">
                    </option>
                </select>
            </div>
        </div>
        <div class="layui-row" style="margin-top: 5px;">
            <label class="layui-form-label">取消节点：</label>
            <div class="layui-input-inline">
                <select name="node" id="node" lay-filter="node">
                    <option value="">请选择</option>
                    <option th:value="${item.key}"
                            th:text="${item.value}"
                            th:selected="${item.key == vo.node}"
                            th:each="item:${cancelNodeList}">取消
                    </option>
                </select>
            </div>
            <label class="layui-form-label">一级缘由：</label>
            <div class="layui-input-inline">
                <input type="text" name="levelOneReason" th:value="${vo.levelOneReason}" placeholder="模糊搜索" autocomplete="off" class="layui-input"
                       maxlength="45"/>
            </div>
            <label class="layui-form-label">二级缘由：</label>
            <div class="layui-input-inline">
                <input type="text" name="reason" th:value="${vo.reason}" placeholder="模糊搜索" autocomplete="off" class="layui-input"
                       maxlength="45"/>
            </div>
        </div>

        <div class="layui-row" style="margin-top: 5px;">
            <label class="layui-form-label">生成投诉：</label>
            <div class="layui-input-inline">
                <select id="complaint" name="complaint" value="0">
                    <option value="0" th:selected="${0 == vo.complaint}">-选择-</option>
                    <option value="2" th:selected="${vo.complaint == 2}">是</option>
                    <option value="1" th:selected="${vo.complaint == 1}">否</option>
                </select>
            </div>

            <label class="layui-form-label">生成异常：</label>
            <div class="layui-input-inline">
                <select id="abnormal" name="abnormal" value="0">
                    <option value="0" th:selected="${0 == vo.abnormal}">-选择-</option>
                    <option value="2" th:selected="${vo.abnormal == 2}">是</option>
                    <option value="1" th:selected="${vo.abnormal == 1}">否</option>
                </select>
            </div>

            <button class="layui-btn layuiadmin-btn-admin" lay-submit id="query-submit"
                    lay-filter="query-submit">
                <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
            </button>
        </div>

    </div>

</zmn>